<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
    {{ msg }}
    {{ 1*8-3 }}
    {{ 1==2?'真的':'假的' }}
    {{ act() }}
    {{ parseInt('1.2345') }}
    <!-- {{ alert(2) }} -->
  </div>
  {{ msg }}
  <script src="./vue.js"></script>
  <script>
    var a = 10;
    const vm = new Vue({
      el: '#app',
      data: {
        msg: '你好世界',
        title:'xxxx'
      },
      methods: {
        act(){
          this.msg = "xxxxc"
        }
      }
    })
    console.log(vm)

  </script>
</body>
</html>